home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3c / perror.z / perror
Encoding:
Text File  |  2002-10-03  |  2.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ppppeeeerrrrrrrroooorrrr((((3333CCCC))))                                                          ppppeeeerrrrrrrroooorrrr((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _pppp_eeee_rrrr_rrrr_oooo_rrrr, _eeee_rrrr_rrrr_nnnn_oooo - print system error messages
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_tttt_dddd_iiii_oooo_...._hhhh_>>>>
  13.  
  14.      _vvvv_oooo_iiii_dddd _pppp_eeee_rrrr_rrrr_oooo_rrrr _((((_cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_ssss_))))_;;;;
  15.  
  16.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_eeee_rrrr_rrrr_nnnn_oooo_...._hhhh_>>>>
  17.  
  18.      _eeee_xxxx_tttt_eeee_rrrr_nnnn _iiii_nnnn_tttt _eeee_rrrr_rrrr_nnnn_oooo_;;;;
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      _pppp_eeee_rrrr_rrrr_oooo_rrrr produces a message on the standard error output (file descriptor
  22.      2), describing the last error encountered during a call to a system or
  23.      library function.  The argument string _s is printed first, then a colon
  24.      and a blank, then the message and a newline.  (However, if _s is a null
  25.      pointer or points to a null string, the colon is not printed.)  To be of
  26.      most use, the argument string should include the name of the program that
  27.      incurred the error.  The error number is taken from the external variable
  28.      _eeee_rrrr_rrrr_nnnn_oooo, which is set when errors occur but not cleared when non-erroneous
  29.      calls are made.
  30.  
  31. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  32.      _iiii_nnnn_tttt_rrrr_oooo(2), _ffff_mmmm_tttt_mmmm_ssss_gggg(3C), _ssss_tttt_rrrr_eeee_rrrr_rrrr_oooo_rrrr(3C), _oooo_ssss_eeee_rrrr_rrrr_oooo_rrrr(3C).
  33.  
  34. NNNNOOOOTTTTEEEE
  35.      Code using _s_y_s__e_r_r_l_i_s_t, and __s_y_s__e_r_r_l_i_s_t directly will not be able to
  36.      display any _e_r_r_n_o greater than 152.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.